<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="假期分组设定" name="first">
          <common />
          <useritem />
      </el-tab-pane>
      <el-tab-pane label="班次时间维护" name="second">
          <common />
          <useritem1 />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import common from './common.vue';
import useritem from './useritem.vue'
import useritem1 from './useritem1.vue'
export default {
  components: { common,useritem,useritem1 },
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang="scss" scoped>

</style>